import java.util.TimerTask;

/**
 * Created with IntelliJ IDEA.
 * User: vturybri
 * Date: 04.10.13
 * Time: 16:56
 * To change this template use File | Settings | File Templates.
 */
public class BeepTask extends TimerTask {

    String message;

    BeepTask(String message) {
        this.message = message;

    }

    public void run() {
        System.out.println(message);  //Do work!
        //Do work!
    }
}
